package com.bridge.kind.extend;

import com.bridge.iface.DrawAPI;
import com.bridge.kind.Shape;

public class Circle extends Shape {

    private int radius;
    private float pi;

    public Circle(int radius, float pi, DrawAPI drawAPI) {
        super(drawAPI);
        this.radius = radius;
        this.pi = pi;
    }

    @Override
    public void draw() {
        drawAPI.drawCircle(radius, pi);
    }
}